package com.sjgtw.cloud.web.expert.service;

import com.sjgtw.cloud.web.expert.domain.ExpertDatabase;
import com.sjgtw.cloud.web.expert.domain.ExpertType;

import java.util.List;
import java.util.Map;

/**
 * 冻害处置方案Service接口
 * 
 * @author ruoyi
 * @date 2024-03-16
 */
public interface ExpertDatabaseService
{
    /**
     * 查询冻害处置方案
     * 
     * @param id 冻害处置方案主键
     * @return 冻害处置方案

     */
    public ExpertDatabase selectExpertDatabaseById(Long id);

    public List<ExpertType> getExpertTypeList();

    public int addExpertType(ExpertType expertType);

    public int deleteExpertType(Long expertTypeId);
    /**
     * 查询冻害处置方案列表
     * 
     * @param ExpertDatabase 冻害处置方案
     * @return 冻害处置方案集合
     */
    public List<ExpertDatabase> selectExpertDatabaseList(ExpertDatabase ExpertDatabase);

    /**
     * 新增冻害处置方案
     * 
     * @param ExpertDatabase 冻害处置方案
     * @return 结果
     */
    public int insertExpertDatabase(ExpertDatabase ExpertDatabase);

    /**
     * 修改冻害处置方案
     * 
     * @param ExpertDatabase 冻害处置方案
     * @return 结果
     */
    public int updateExpertDatabase(ExpertDatabase ExpertDatabase);

    /**
     * 批量删除冻害处置方案
     * 
     * @param ids 需要删除的冻害处置方案主键集合
     * @return 结果
     */
    public int deleteExpertDatabaseByIds(Long[] ids);

    /**
     * 删除冻害处置方案信息
     * 
     * @param id 冻害处置方案主键
     * @return 结果
     */
    public int deleteExpertDatabaseById(Long id);
}
